nikhil.io

forty-six things tagged “web development

Some Amazing Things You can do with Modern CSS

Plenty of good stuff on there but this totally blew my mind. Consider this custom tag (should be lowercased and contain hyphens. Emojis are allowed!):

<cool-thing shadow>wow</cool-thing>

and this valid CSS:

cool-thing {
    display: flex;

    &[shadow] {
        box-shadow: 1px 1px #0007;
    }

    @media (screen < 480px) {
        flex-direction: column;
    }
}

The only thing missing from my beloved SASS are mixins but I suppose you can achieve that by composing attributes (like shadow above). Super cool.

Navidrome is a free, open-source music player with a web UI

Here’s a demo site (demo:demo). I was able to launch it in under 30 seconds (M2 MacBook Air, 24GiB) against a ~200GiB music library.

UX and beets integration aside, it’s essentially what I tried to build a long while ago. A simple music player (based on Rust/Golang, SQLite, and simple Web APIs) whose UI made sense to normal and reasonable people and not ambitious product managers.

“I Fucking Hate Jira” is a collection of people sharing their feelings about one of the worst pieces of software I continue to use every day.

Jira is middle-management-ware, a term I made up for software that serves the needs of middle management, or, at least, the needs middle management thinks it has, which comes to the same thing as long as you’re selling to them. (link) Jira is a tire fire. It should be condemned and officially d…

UI Pedantry

Can’t Unsee is “Spot the difference” for UI nerds. 6530. On the “hard” sections, wondered how much the minutiae matter if a user is unable to discern the difference between two comps after a few seconds. Via Deepu…